Skip to content

convert ggplot to png#122

Merged
shannonhaughton merged 10 commits into
mainfrom
ggplot_to_png
Jul 2, 2026
Merged

convert ggplot to png#122
shannonhaughton merged 10 commits into
mainfrom
ggplot_to_png

Conversation

@shannonhaughton

Copy link
Copy Markdown
Collaborator

No description provided.

@shannonhaughton shannonhaughton requested a review from bzkrouse July 1, 2026 10:27
Comment thread tests/testthat/test-prep_obj_rtf.R

@bzkrouse bzkrouse left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny changes requested, but looks good

Comment thread R/utils.R Outdated
Comment thread R/utils.R
shannonhaughton and others added 2 commits July 2, 2026 09:00
Co-authored-by: Becca Krouse <14199771+bzkrouse@users.noreply.github.com>
Co-authored-by: Becca Krouse <14199771+bzkrouse@users.noreply.github.com>
@shannonhaughton shannonhaughton linked an issue Jul 2, 2026 that may be closed by this pull request
Comment thread R/utils_gt.R
gt <- dplyr::tibble(ggplot = temp_png) |>
gt::gt() |>
gt::fmt_image(columns = dplyr::everything(), sep = ",", width = "6in") |>
gt::fmt_image(columns = dplyr::everything(), sep = ",", height = paste0(x$fig_dim[1], "in"), width = paste0(x$fig_dim[2], "in")) |>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shannonhaughton shannonhaughton requested a review from bzkrouse July 2, 2026 12:28
@shannonhaughton shannonhaughton merged commit cd6985b into main Jul 2, 2026
6 checks passed
@shannonhaughton shannonhaughton deleted the ggplot_to_png branch July 3, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

should ggplots be converted to png before render stage?

2 participants